
import uuid

class Task:
    def __init__(self,params, taskid, resultid):
        self.mac = uuid.UUID(int=uuid.getnode()).hex[-12:]
        self.mac = self.mac.upper()
        self.register_code = ""
        self.request_code = ""
        self.modelid = "demo"
        self.params = params
        self.taskid = taskid
        self.resultid =resultid


    def functionOne(self):
        return self.mac


    def functionTwo(self):
        returnResult={}
        res=self.functionOne()
        returnResult['res']=res
        return returnResult




def outerFunction():
    newList=["a","b","c"]
    returnDict = {a: b for a, b in enumerate(newList)}
    return returnDict
